//-----------------------------------------------------------------------
// <copyright file="TerritoryBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class TerritoryBase
	{
		
		#region Variable Declarations
		private int				territoryID = 0;
		private string			description = string.Empty;
		private int				countryID = 0;
		private int				idNumber = 0;
		private bool			showHDPricingOnIDS = false;
		#endregion
		
		#region Constructors
		public TerritoryBase() {}
		
		public TerritoryBase (
			int territoryID,
			string description,
			int countryID,
			int idNumber,
			bool showHDPricingOnIDS)
		
		{
			this.territoryID = territoryID;
			this.description = description;
			this.countryID = countryID;
			this.idNumber = idNumber;
			this.showHDPricingOnIDS = showHDPricingOnIDS;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int TerritoryID
		{
			get { return territoryID; }
			set { territoryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CountryID
		{
			get { return countryID; }
			set { countryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int IDNumber
		{
			get { return idNumber; }
			set { idNumber = value; }
		}
		

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public bool ShowHDPricingOnIDS
		{
			get { return showHDPricingOnIDS; }
			set { showHDPricingOnIDS = value; }
		}
		#endregion
	}//End Class
	
	public enum TerritoryColumns
	{
		TerritoryID,
		Description,
		CountryID,
		IDNumber,
		ShowHDPricingOnIDS
	}//End enum
}